import request from '@/utils/request'

//查询全部登录日志
export function loadAllLoginLogs(query) {
    return request({
        url: '/system/loginlog/loadAllLoginLogsByPage',
        method: 'get',
        params: query
    })
}

//删除登录日志
export function removeLoginLog(ids) {
    return request({
        url: '/system/loginlog/removeLoginLogByIds/' + ids,
        method: 'delete'
    })
}


//清空全部登录日志
export function clearAllLoginLogs() {
    return request({
        url: '/system/loginlog/clearAllLoginLogs',
        method: 'delete'
    })
}



